<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        @keyframes wave {
            50%{
                transform: translate(-50px);
            }
        }
        @keyframes ship {
            50%{
                transform:rotate(12deg) ;
            }
            
        }
        @keyframes yu {
            0%{
                transform: rotate(-20deg);
                left:10px;
                top: 800px;
            }
            20%{
                transform: rotate(5deg);
                left:300px;
                top: 500px;
            }
            35%{
                transform: rotate(-20deg);
                left:500px;
                top: 800px;
            }
            50%{
                transform: rotate(5deg);
                left:700px;
                top: 500px;
            }
            65%{
                transform: rotate(-20deg);
                left:900px;
                top: 800px;
            }
            80%{
                transform: rotate(5deg);
                left:1100px;
                top: 500px;
            }
            100%{
                transform: rotate(-20deg);
                left:1300px;
                top: 800px;
            }
            
        }
        .container{
        
        }
        .sea{
            position: fixed;
            bottom: 0px;
        }
        *{
            margin: 0px;
            padding: 0px;
        }
        .wave1{
            position:absolute;
            bottom: 60px;
            height: 70px;
            animation: wave 3s infinite;
        }
        .wave2{
            position:absolute;
            bottom: 30px;
            height: 70px;
            animation: wave 2s infinite;
        }
        .wave3{
            position:absolute;
            bottom: 0px;
            height: 70px;
            animation: wave 2.5s infinite;
        }
        .ship{
            position:fixed;
            left: 30%;
            bottom: 60px;
            animation: ship 3s infinite;
        }
        .yu{
            position: fixed;
            animation: yu 10s infinite;
        }
    </style>
</head>
<body>
    <div class="container">
        <img  src="images/bg.png" alt="">
        <img class="yu" src="images/yu.png" alt="">
        <img class="ship" src="images/ship.png" alt="">
        <div class="sea">
            <img class="wave1" src="images/wave1.png" alt="">
            <img class="wave2" src="images/wave2.png" alt="">
            <img class="wave3" src="images/wave3.png" alt="">
        </div>
    </div>
</body>
</html>